package cn.com.oceansoft.business.danger.persistence;

import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.danger.entity.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDangertContentMapper {
   List<DangerContent> getNrList(Query query);

   DangerContent getInfoDetail(DangerContent dangerContent);

   List<DangerContent> getInfoPic(DangerContent dangerContent);

   List<CollecterInfo> getDictList(DangerContent dangerContent);

   List<Flowinfo> getInfoDetailLz(Flowinfo flowinfo);

   List<DangerContent> getInfoPicfk(DangerContent dangerContent);

   List<Flowinfo> getInfoDetailJg(Flowinfo flowinfo);

   Flowinfo getInfoDetailOne(Flowinfo flowinfo);

   List<DangerContent> getNrListWithName(Query query);

   int submitFlowInfo(Flowinfo flowinfo);


   Flowinfo getFlowInfo(String id, String i);

   void updateCf(String id);

   void updateZg(String id);

   List<Flowinfo> getInfoDetailOneList(Flowinfo flowinfo);

   void updateImg(String dangerid);

   Cfcs getCfcs(String id);

   Zgcs getZgcs(String id);

   List<Attach> getPicFK(String id);

   List<DangerContent> getNrListWithNameQ(Query query);

   List<Flowinfo> getListFlowInfo(Flowinfo flowinfo);
   void updateflowZt(Flowinfo flowinfo);

   List<DangerContent> getTypeDetailList(Query query);

   List<DangerContent> xxtjDetailList(Query query);

   List<DangerContent> getQytjDetail(Query query);
}
